﻿using System;
using System.Collections.Generic;
using System.IO;
using Catel.Articles._02___WPF_controls.Data;
using Catel.Articles.Base.Data.Attributes;
using Catel.Articles.Base.UI;
using System.Windows.Markup;

namespace Catel.Articles._02___WPF_controls.Examples.CrashReportWindow
{
    [Example("CrashReportWindow", "Example of the CrashReport window",
        LongDescription = @"The CrashReport window is a window to easily add crash reporting functionality to your application.",
        SourceFileName = "/Examples/CrashReportWindow/Code.txt",
        ImageUri = "/Examples/CrashReportWindow/Screenshot.png",
        ClickHandlerName = "ShowExample")]
    public class Example
    {
        /// <summary>
        /// Shows the example.
        /// </summary>
        private static void ShowExample()
        {
            Catel.Windows.CrashReportWindow crashReportWindow = new Catel.Windows.CrashReportWindow();

            crashReportWindow.ShowDialog();
        }
    }
}
